%% Input file name: calculo_intervalo_confianza_media.fig
%% FIG version: 3.2
%% Orientation: Landscape
%% Justification: Flush Left
%% Units: Inches
%% Paper size: A4
%% Magnification: 100.0
%% Resolution: 1200ppi
%% Include the following in the preamble:
%% \usepackage{textcomp}
%% End

\begin{pspicture}(6.65cm,2cm)(17.03cm,13.56cm)
\psset{unit=0.8cm}
%%
%% Depth: 2147483647
%%
\newrgbcolor{mycolor0}{1.00 0.50 0.31}\definecolor{mycolor0}{rgb}{1.00,0.50,0.31}
\newgray{mycolor1}{0.74}\definecolor{mycolor1}{gray}{0.74}
%%
%% Depth: 100
%%
\psset{linestyle=solid,linewidth=0.03175,linecolor=black,fillstyle=solid,fillcolor=mycolor0}
\psline(10.59,6.47)(10.68,6.48)(10.78,6.50)(10.88,6.51)(10.98,6.53)(11.08,6.55)(11.18,6.57)(11.28,6.60)(11.38,6.64)(11.47,6.68)(11.57,6.72)(11.67,6.78)(11.77,6.84)(11.87,6.91)(11.97,6.99)(12.07,7.09)(12.17,7.19)(12.27,7.31)(12.37,7.44)(12.47,7.59)(12.56,7.76)(12.66,7.94)(12.76,8.14)(12.86,8.35)(12.96,8.59)(12.96,6.47)
\psline(18.01,6.47)(18.01,8.59)(18.11,8.35)(18.21,8.14)(18.30,7.94)(18.40,7.76)(18.50,7.59)(18.60,7.44)(18.70,7.31)(18.80,7.19)(18.90,7.09)(19.00,6.99)(19.10,6.91)(19.20,6.84)(19.30,6.78)(19.40,6.72)(19.49,6.68)(19.59,6.64)(19.69,6.60)(19.79,6.57)(19.89,6.55)(19.99,6.53)(20.09,6.51)(20.19,6.50)(20.28,6.48)(20.38,6.47)
\psset{fillstyle=none}
\psline(10.59,6.47)(10.68,6.48)(10.78,6.50)(10.88,6.51)(10.98,6.53)(11.08,6.55)(11.18,6.57)(11.28,6.60)(11.38,6.64)(11.47,6.68)(11.57,6.72)(11.67,6.78)(11.77,6.84)(11.87,6.91)(11.97,6.99)(12.07,7.09)(12.17,7.19)(12.27,7.31)(12.37,7.44)(12.47,7.59)(12.56,7.76)(12.66,7.94)(12.76,8.14)(12.86,8.35)(12.96,8.59)(13.06,8.84)(13.16,9.11)(13.26,9.39)(13.36,9.70)(13.46,10.01)(13.55,10.34)(13.65,10.69)(13.75,11.04)(13.85,11.40)(13.95,11.76)(14.05,12.13)(14.15,12.49)(14.25,12.85)(14.35,13.20)(14.44,13.54)(14.54,13.86)(14.64,14.16)(14.74,14.44)(14.84,14.69)(14.94,14.91)(15.04,15.10)(15.14,15.25)(15.24,15.37)(15.34,15.45)(15.43,15.49)(15.53,15.49)(15.63,15.45)(15.73,15.37)(15.83,15.25)(15.93,15.10)(16.03,14.91)(16.13,14.69)(16.23,14.44)(16.33,14.16)(16.43,13.86)(16.52,13.54)(16.62,13.20)(16.72,12.85)(16.82,12.49)(16.92,12.13)(17.02,11.76)(17.12,11.40)(17.22,11.04)(17.32,10.69)(17.41,10.34)(17.51,10.01)(17.61,9.70)(17.71,9.39)(17.81,9.11)(17.91,8.84)(18.01,8.59)(18.11,8.35)(18.21,8.14)(18.30,7.94)(18.40,7.76)(18.50,7.59)(18.60,7.44)(18.70,7.31)(18.80,7.19)(18.90,7.09)(19.00,6.99)(19.10,6.91)(19.20,6.84)(19.30,6.78)(19.40,6.72)(19.49,6.68)(19.59,6.64)(19.69,6.60)(19.79,6.57)(19.89,6.55)(19.99,6.53)(20.09,6.51)(20.19,6.50)(20.28,6.48)(20.38,6.47)
\psline(10.19,6.11)(20.78,6.11)(20.78,15.85)(10.19,15.85)(10.19,6.11)
\rput(15.48,16.12){Distribución de la diferencia de medias muestrales $\bar x_1-\bar x_2\sim N(\mu_1-\mu_2,\sqrt{\frac{\sigma_1}{n_1}+\frac{\sigma_2}{n_2}})$}
%\rput[t](15.40,4.42){$\bar x_1-\bar x_2$}
\psline(15.40,4.65)(15.57,4.65)
\rput[l]{90}(8.83,8.61){Densidad de probabilidad $f(x)$}
\psline(12.96,6.11)(12.96,5.90)
\psline(18.01,6.11)(18.01,5.90)
\psline(15.48,6.11)(15.48,5.90)
\rput[b](12.96,5.35){$-z_{\alpha/2}$}
\rput[b](18.01,5.35){$z_{\alpha/2}$}
\rput[b](15.48,5.35){$\mu_1-\mu_2$}
\psline(10.19,6.43)(10.19,6.43)
\psline(10.19,6.43)(9.98,6.43)
\rput{90}(9.68,6.43){0}
\rput(12.51,7){$\alpha/2$}
\rput(18.46,7){$\alpha/2$}
\rput(15.48,7){$1-\alpha$}
\psset{linecolor=mycolor1}
\psline(10.19,6.43)(20.78,6.43)
\rput[c](15.48,3){$P\left(\mu_1-\mu_2-z_{\alpha/2}\sqrt{\dfrac{\sigma_1}{n_1}+\dfrac{\sigma_2}{n_2}} \leq \bar x_1-\bar x_2 \leq \mu_1-\mu_2+z_{\alpha/2}\sqrt{\dfrac{\sigma_1}{n_1}+\dfrac{\sigma_2}{n_2}} \right) = 1-\alpha$}
\end{pspicture}
%% End
